import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from './axios'
// log
Vue.prototype.$axios = axios; 
 //挂载在全局vue的原型上 叫$axios

Vue.use(ElementUI);
//引入全局css

Vue.config.productionTip = false
// Vue.component("要注册的名字",要加载的组件)
//全局注册


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
